Skip to content

Add svm transactions command with signature extraction and block time formatting#39

Open
ivpusic wants to merge 1 commit intosim/svm-balancesfrom
sim/svm-transactions
Open

Add svm transactions command with signature extraction and block time formatting#39
ivpusic wants to merge 1 commit intosim/svm-balancesfrom
sim/svm-transactions

Conversation

@ivpusic
Copy link
Member

@ivpusic ivpusic commented Mar 12, 2026

Add dune sim svm transactions <address> for SVM transaction history. Extracts first tx signature from raw data, formats block_time (microseconds) as readable timestamps. Supports text/JSON output with pagination.

@ivpusic ivpusic marked this pull request as ready for review March 12, 2026 09:13
@cursor
Copy link

cursor bot commented Mar 12, 2026

PR Summary

Low Risk
Low risk: adds a new CLI subcommand and tests without changing existing balance/query behavior; main risk is output/field parsing assumptions against the /beta/svm/transactions API.

Overview
Adds dune sim svm transactions <address> to query /beta/svm/transactions/{address} with --limit and --offset, supporting both table output and raw JSON output.

Text output now includes derived fields by formatting block_time (microseconds) to UTC timestamps and extracting the first transaction signature from raw_transaction; includes integration-style tests covering text/JSON output, limit, pagination, and presence of raw_transaction.

Written by Cursor Bugbot for commit aadfb1d. Configure here.

@ivpusic ivpusic force-pushed the sim/svm-transactions branch from aadfb1d to 6ff5f55 Compare March 12, 2026 15:34
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 6ff5f55 to 4cd0494 Compare March 12, 2026 15:39
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 4cd0494 to 08f625d Compare March 12, 2026 16:07
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 08f625d to 542db9b Compare March 12, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants